Is Bit-Vector Reasoning as Hard as NExpTime in Practice?

نویسندگان

  • Nachum Dershowitz
  • Alexander Nadel
چکیده

It has been shown that (quantifier-free) bit-vector logic (BV) is NExpTime-complete, on account of the fact that the number of propositional variables in the SAT encoding of a BV formula grows exponentially with the length of the declarations of the bit-vector variables in the input formula. This level of complexity is surprising, given that in practice BV is being used successfully in a wide range of applications. This work points out that the high complexity does not necessary hold in practical applications of BV. We give two examples of easier families of BV problems. First, we demonstrarate that in a BV subset, originating in a recent critical Intel application of BV from clock routing, the number of propositional variables is polynomial in the size of the BV instance – since the maximal value of the instance’s bit-vector variables is written out explicitly as a bit-vector constant, thus establishing that clock routing uses an NP-complete subset of BV. Second, we show that for another application, namely, microcode validation, the (logarithm of the) register width should be viewed as a fixed parameter, and thus microcode validation uses a paraNP-complete parameterized version of BV. Similar arguments are likely to apply to a variety of other BV applications to demonstrate that they too use NP-complete subclasses of BV or its para-NP-complete parametrized version.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Theoretical and Practical Aspects of Bit-Vector Reasoning

Satisfiability Modulo Theories (SMT) is a broad field of research and an important topic for many practical applications. In this thesis, we focus on theories of bitvectors as used, e.g., in hardware and software verification, but also in many other areas. In particular, we discuss satisfiability of bit-vector logics and related problems. The satisfiability problem of propositional formulas (SA...

متن کامل

More on the Complexity of Quantifier-Free Fixed-Size Bit-Vector Logics with Binary Encoding

Bit-precise reasoning is important for many practical applications of Satisfiability Modulo Theories (SMT). In recent years, efficient approaches for solving fixed-size bit-vector formulas have been developed. From the theoretical point of view, only few results on the complexity of fixed-size bit-vector logics have been published. Most of these results only hold if unary encoding on the bit-wi...

متن کامل

On the Complexity of Fixed-Size Bit-Vector Logics with Binary Encoded Bit-Width

Bit-precise reasoning is important for many practical applications of Satisfiability Modulo Theories (SMT). In recent years, efficient approaches for solving fixed-size bit-vector formulas have been developed. From the theoretical point of view, only few results on the complexity of fixed-size bit-vector logics have been published. Some of these results only hold if unary encoding on the bit-wi...

متن کامل

bv2epr: A Tool for Polynomially Translating Quantifier-free Bit-Vector Formulas into EPR∗

Bit-precise reasoning is essential in many applications of Satisfiability Modulo Theories (SMT). In recent years, efficient approaches for solving fixed-size bit-vector formulas have been developed. Most of these approaches rely on bit-blasting. In [1], we argued that bit-blasting is not polynomial in general, and then showed that solving quantifier-free bit-vector formulas (QF BV) is NExpTime-...

متن کامل

On the Complexity of the Quantified Bit-Vector Arithmetic with Binary Encoded Bit-Widths

We study the precise computational complexity of deciding satisfiability of first-order quantified formulas over the theory of fixed-size bit-vectors with binary-encoded bit-widths and constants. This problem is known to be in EXPSPACE and to be NEXPTIME-hard. We show that this problem is complete for the complexity class AEXP(poly) – the class of problems decidable by an alternating Turing mac...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2015